Includes APIs supported by Camera Link devices.
More...
Includes APIs supported by Camera Link devices.
◆ MV_CAML_GetSerialPortList()
| def MvCameraControl_class.MV_CAML_GetSerialPortList |
( |
|
stSerialPortList | ) |
|
Gets the serial port information list.
- Parameters
-
| pstSerialPortList | [IN][OUT] It refers to the serial port information list. |
- Returns
- Returns MV_OK for success, and returns corresponding Error Code for failure.
◆ MV_CAML_SetEnumSerialPorts()
| def MvCameraControl_class.MV_CAML_SetEnumSerialPorts |
( |
|
stSerialPortList | ) |
|
Specifies the serial ports for enumeration.
- Parameters
-
| pstSerialPortList | [IN][OUT] It refers to the serial port information list. |
- Returns
- Returns MV_OK for success, and returns corresponding Error Code for failure.
◆ MV_CAML_SetDeviceBaudrate()
| def MvCameraControl_class.MV_CAML_SetDeviceBaudrate |
( |
|
self, |
|
|
|
nBaudrate |
|
) |
| |
Sets baud rate for the device.
- Parameters
-
| handle | [IN] It refers to the device handle. |
| nBaudrate | [IN] It refers to the baud rate to set. See CameraParams_const.py for parameter definitions.
| Camera Link Baud Rate Definition | Value | Baud Rate |
| MV_CAML_BAUDRATE_9600 | 0x00000001 | 9600 |
| MV_CAML_BAUDRATE_19200 | 0x00000002 | 19200 |
| MV_CAML_BAUDRATE_38400 | 0x00000004 | 38400 |
| MV_CAML_BAUDRATE_57600 | 0x00000008 | 57600 |
| MV_CAML_BAUDRATE_115200 | 0x00000010 | 115200 |
| MV_CAML_BAUDRATE_230400 | 0x00000020 | 230400 |
| MV_CAML_BAUDRATE_460800 | 0x00000040 | 460800 |
| MV_CAML_BAUDRATE_921600 | 0x00000080 | 921600 |
| MV_CAML_BAUDRATE_AUTOMAX | 0x40000000 | Maximum value |
|
- Returns
- Returns MV_OK for success, and returns corresponding Error Code for failure.
◆ MV_CAML_GetDeviceBaudrate()
| def MvCameraControl_class.MV_CAML_GetDeviceBaudrate |
( |
|
self, |
|
|
|
pnCurrentBaudrate |
|
) |
| |
Gets the baud rate of the device.
- Parameters
-
| handle | [IN] It refers to the device handle. |
| pnCurrentBaudrate | [IN][OUT] It refers to the pointer to baud rate information. See CameraParams_const.py for parameter definitions. |
- Returns
- Returns MV_OK for success, and returns corresponding Error Code for failure.
◆ MV_CAML_GetSupportBaudrates()
| def MvCameraControl_class.MV_CAML_GetSupportBaudrates |
( |
|
self, |
|
|
|
pnBaudrateAblity |
|
) |
| |
Gets the supported baud rate of the connection between the device and host.
- Parameters
-
| handle | [IN] It refers to the device handle. |
| pnBaudrateAblity | [IN][OUT] It refers to the pointer to the supported baud rate information. See CameraParams_const.py for the definitions of single value of the OR operation results of all supported baud rate. |
- Returns
- Returns MV_OK for success, and returns corresponding Error Code for failure.
◆ MV_CAML_SetGenCPTimeOut()
| def MvCameraControl_class.MV_CAML_SetGenCPTimeOut |
( |
|
self, |
|
|
|
nMillisec |
|
) |
| |
Sets the waiting duration for serial port operation.
- Parameters
-
| handle | [IN] It refers to the device handle. |
| nMillisec | [IN] It refers to the waiting duration for serial port operation, unit: millisecond. |
- Returns
- Returns MV_OK for success, and returns corresponding Error Code for failure.